<?php
ini_set("soap.wsdl_cache_enabled","0");

$service  = new SoapClient("http://208.74.72.210:8080/EnticeWS/services/billing?wsdl");

$key = 'pass';
$key = mkResllerKey($key);

//041565409351933
//$data = $service->getSubscriber('12',$key, '04128582369454235');

$email  = "rush@xclnetworks.com";


$user= new stdClass();
$user->acctId = '283';
$user->resourceGroupId = '';
$user->resellerId = 12;

$data = $service->addUser('12',$key, $user);

//header('Content-type: text/xml');
var_dump ( $data);

function mkResllerKey($key)
{
	$dt = gmdate("m/d/Y", time());
	$key =substr($dt,0,6).$key.substr($dt, 5);
	return md5($key);
}